package com.it.emall.service;

import com.it.emall.domain.AdminUser;
import com.it.emall.domain.Comments;

import java.util.List;

/**
 * 后台service接口
 */
public interface AdminUserService {
    AdminUser login(String username);

    AdminUser selectUserById(Integer id);


    /**
     * 后台
     */
    List<AdminUser> getAllManageUsers();
    int deleteManageUserById(Integer userId);
    int updateManageUser(Integer userId, AdminUser adminUser);
    List<AdminUser> searchManageUsers(String username, String email, Integer age, String gender);
    AdminUser getManageUserById(Integer userId);

}
